package com.nyist.entity;

public class Manage {
	private String id="";//UUID 自动生成的id 
	//��������
	private String username=""; //用户名
	private String password="";//密码
	private String validatecode=""; //验证码 配合密码进行密码加密
	private String mail=""; //注册时的邮箱
	private int state=0;  //邮箱的状态 如果为 0 那么就是未验证 1 就是已经验证了
	
	public Manage() {
		//super();
	}

	public Manage(String id, String username, String password, String validatecode, String mail, int state) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.validatecode = validatecode;
		this.mail = mail;
		this.state = state;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getValidatecode() {
		return validatecode;
	}

	public void setValidatecode(String validatecode) {
		this.validatecode = validatecode;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public int getState() {
		return state;
	}

	public void setState(int i) {
		this.state = i;
	}

	@Override
	public String toString() {
		return "Manage [id=" + id + ", username=" + username + ", password=" + password + ", validatecode="
				+ validatecode + ", mail=" + mail + ", state=" + state + "]";
	}
	
	
}
